package com.min.test;

/**
 * Created by min on 2017/9/15.
 * 执行new Son()的执行顺序
 * static grandfather
 * static father
 * static son
 * {}:grandfather
 * grandfather
 * {}:father
 * father
 * {}:son
 * son
 */
public class Son extends Father {


    static  {
        System.out.println("static son");
    }

    {
        System.out.println("{}:son");
    }

    public Son() {
        System.out.println("son");
    }
}
